package com.example.demo.web.Entity;

import java.util.Date;

public class KeyEntity {
	private String id = "";//id    
	private String keysn;//识别码
	private String owner;//使用人 
	private String ownername = "";//使用人姓名	
	private Date regdate;//注册时间
	private Date offdate = null;//注销时间
	private Date lastreport = null;//最后上报时间	
	private String offname = "";//注销人	
	private int active = 0;//状态
	private String orgid = "";
	private String orgname = "";
	private String descriptor = "";//备注
	private String ckname = "";
	private String createname = "";	
	private int electricity = 999;//电量百分比
	public Date getLastreport() {
		return lastreport;
	}
	public void setLastreport(Date lastreport) {
		this.lastreport = lastreport;
	}
	public String getOwnername() {
		return ownername;
	}
	public void setOwnername(String ownername) {
		this.ownername = ownername;
	}
	public String getCreatename() {
		return createname;
	}
	public void setCreatename(String createname) {
		this.createname = createname;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getKeysn() {
		return keysn;
	}
	public void setKeysn(String keysn) {
		this.keysn = keysn;
	}
	public String getOwner() {
		return owner;
	}
	public void setOwner(String owner) {
		this.owner = owner;
	}
	public Date getRegdate() {
		return regdate;
	}
	public void setRegdate(Date regdate) {
		this.regdate = regdate;
	}
	public Date getOffdate() {
		return offdate;
	}
	public void setOffdate(Date offdate) {
		this.offdate = offdate;
	}
	public String getOffname() {
		return offname;
	}
	public void setOffname(String offname) {
		this.offname = offname;
	}
	public int getActive() {
		return active;
	}
	public void setActive(int active) {
		this.active = active;
	}
	public String getOrgid() {
		return orgid;
	}
	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}
	public String getOrgname() {
		return orgname;
	}
	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}
	public String getDescriptor() {
		return descriptor;
	}
	public void setDescriptor(String descriptor) {
		this.descriptor = descriptor;
	}
	public String getCkname() {
		return ckname;
	}
	public void setCkname(String ckname) {
		this.ckname = ckname;
	}
	public int getElectricity() {
		return electricity;
	}
	public void setElectricity(int electricity) {
		this.electricity = electricity;
	}
	
}

